export const tableOption = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  searchMenuSpan: 6,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  editTitle: "重命名",
  column: [
    {
      type: "input",
      label: "文件名",
      prop: "fileName",
      span: 12,
      search: true,
    },
    {
      type: "select",
      label: "文件类型",
      prop: "fileType",
      span: 12,
      display: false,
      hide: false,
      search: true,
      dicUrl: "/admin-api/system/dict-data/type?type=file_type",
      dicMethod: "get",
      props: {
        label: "label",
        value: "label",
      },
    },
    {
      type: "input",
      label: "存放位置",
      prop: "locationInfo",
      span: 12,
      display: false,
      hide: false,
    },
    {
      prop: "createBy",
      span: 12,
      type: "input",
      label: "上传人",
      dicUrl: "/admin/user/getAllUser",
      props: {
        label: "name",
        value: "username",
      },
      dicMethod: "get",
      display: false,
      hide: false,
      width: 100,
    },
    {
      prop: "createTime",
      span: 12,
      width: 150,
      type: "datetime",
      label: "上传时间",
      format: "yyyy-MM-dd HH:mm:ss",
      display: false,
      hide: false,
      valueFormat: "yyyy-MM-dd HH:mm:ss",
    },
  ],
};
